package com.twl.app.base.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true,dynamicUpdate = true)
@Table(name = "Jbsalary")
@SequenceGenerator(name = "instance_sequence", sequenceName = "SEQ_JBSALARY_DID", allocationSize = 1)
public class Jbsalary implements Serializable{

	/**
	 * 基本工资
	 */
	private static final long serialVersionUID = 1L;

	private Integer did ;		//主键
	private String staffint ;  //员工ID
	private String stafftype ;	//员工类型（正式、派遣员工）
	private String stafftypes ;//员工类别（客服、授权、催收）
	private String staffmoney ;//员工基本工资
	private Integer delstaff ;//是否删除
	private String  modifier ;//MODIFIER 修改人
	private String modifyDate ;// 修改时间
	  private String desKey;// 密钥
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	
	public Jbsalary() {
		super();
	}

	public Jbsalary(Integer did, String staffint, String stafftype,
			String stafftypes, String staffmoney, Integer delstaff,
			String modifier, String modifyDate) {
		super();
		this.did = did;
		this.staffint = staffint;
		this.stafftype = stafftype;
		this.stafftypes = stafftypes;
		this.staffmoney = staffmoney;
		this.delstaff = delstaff;
		this.modifier = modifier;
		this.modifyDate = modifyDate;
	}







	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator="instance_sequence")
	public Integer getDid() {
		return did;
	}
	public void setDid(Integer did) {
		this.did = did;
	}
	@Column(name = "staffint")
	public String getStaffint() {
		return staffint;
	}
	public void setStaffint(String staffint) {
		this.staffint = staffint;
	}
	
	@Column(name = "stafftype")
	public String getStafftype() {
		return stafftype;
	}
	public void setStafftype(String stafftype) {
		this.stafftype = stafftype;
	}
	
	@Column(name = "stafftypes")
	public String getStafftypes() {
		return stafftypes;
	}
	public void setStafftypes(String stafftypes) {
		this.stafftypes = stafftypes;
	}
	
	@Column(name = "staffmoney")
	public String getStaffmoney() {
		return staffmoney;
	}
	public void setStaffmoney(String staffmoney) {
		this.staffmoney = staffmoney;
	}
	
	@Column(name = "delstaff")
	public Integer getDelstaff() {
		return delstaff;
	}
	public void setDelstaff(Integer delstaff) {
		this.delstaff = delstaff;
	}

	@Column(name = "modifier")
	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}
	@Column(name = "modifyDate")
	public String getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(String modifyDate) {
		this.modifyDate = modifyDate;
	}



	@Override
	public String toString() {
		return "Jbsalary [did=" + did + ", staffint=" + staffint
				+ ", stafftype=" + stafftype + ", stafftypes=" + stafftypes
				+ ", staffmoney=" + staffmoney + ", delstaff=" + delstaff
				+ ", modifier=" + modifier + ", modifyDate=" + modifyDate + "]";
	}
	
	
}
